package org.dromara.timemate.service;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.timemate.domain.DeviceInfo;
import org.dromara.timemate.domain.bo.DeviceManageBo;
import org.dromara.timemate.domain.vo.DeviceManageVo;

import java.util.List;

public interface DeviceManageService {
    TableDataInfo<DeviceManageVo> queryPageList(DeviceManageBo bo, PageQuery pageQuery);

    Boolean addDeviceManageInfo(DeviceManageBo deviceManageBo);

    List<DeviceManageVo> queryByTenantId();

    Boolean updateByBo(DeviceManageBo bo);

    Boolean deleteWithValidByIds(List<Long> list);

    List<DeviceManageVo> queryList(DeviceManageBo bo);

    Boolean saveBatch(List<DeviceInfo> list);
}
